<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我要开店</title>
<script src="<%=basePath %>res/hjt/js/jquery-1.10.2.js"></script>
<script src="<%=basePath %>res/hjt/js/jquery.min.1.6.4.js"></script>
<link rel="stylesheet" type="text/css" href="<%=basePath%>res/hjt/layui/css/layui.css"
	media="all">
<style type="text/css">
	html{
		 overflow-x: hidden;
		 overflow-y: auto;
	}
	body {
		width: 100%;
		height: 1300px;
	}
	.layui-btn{
            border: 0px; /*去边框*/
            width:281px;
            height:67px;
            background-image:url(pages/imagesHjt/ann.png);/*背景图片*/
            position: absolute;
            top:407px;
            left:534px;
        }
     #chakan{
     	text-align:center;
     	position:relative;
     	top:-1216px;
     }
</style>
<script type="text/javascript">

</script>
</head>
<body>
	
	<img src="<%=basePath%>pages/imagesHjt/shang.png">
	<img src="<%=basePath%>pages/imagesHjt/zhong.png">
	<img src="<%=basePath%>pages/imagesHjt/xia.png">
	<input type="button" id="zAdd" class="layui-btn"/>
	<a href="<%=basePath %>pages/tl/index.jsp" style="text-decoration:none;position: absolute;top:15px;left:1235px;color:white;font-size: 14px;">返回首页</a>
	<p id="chakan"><a href="javascript:;" style="color:blue" id="ckkdjl">查看开店记录</a></p>
<script src="<%=basePath %>res/hjt/layui/layui.js"></script>
<script>
layui.use(['laydate', 'laypage', 'layer', 'table', 'upload', 'element'], function(){
	  var laydate = layui.laydate //日期
	  ,laypage = layui.laypage //分页
	  layer = layui.layer //弹层
	  ,table = layui.table //表格
	  ,upload = layui.upload //上传
	  ,element = layui.element; //元素操作
	 
	  var $ = layui.$;
	  
	  //监听Tab切换
	  element.on('tab(demo)', function(data){
	    layer.msg('切换了：'+ this.innerHTML);
	    console.log(data);
	  });
	 
	  $('#zAdd').on('click', function(){
		 layer.open({
			  type: 2,
			  area : ['60%' , '90%'],//弹出框大小
			  shift:1,//弹出框动画效果
			  content: ['pages/hjt/dianz.jsp','on'] //这里content是一个URL，如果你不想让iframe出现滚动条，你还可以content: ['http://sentsin.com', 'no']
			});
	   });
		$("#ckkdjl").on('click',function(){
			layer.open({
				  type: 2,
				  area : ['82%' , '90%'],//弹出框大小
				  shift:1,//弹出框动画效果
				  content: ['pages/hjt/ckkdjl.jsp','on'] //这里content是一个URL，如果你不想让iframe出现滚动条，你还可以content: ['http://sentsin.com', 'no']
				});
		})
	  
	});
	
</script>
</body>
</html>